package com.example.othree.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author zogran
 * @since 2024-11-12
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="CropsYieldYearData对象", description="")
public class CropsYieldYearData implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增id")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "年份")
    private String year;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "小麦播种面积（千公顷）")
    private Float wheatArea;

    @ApiModelProperty(value = "玉米播种面积（千公顷）")
    private Float cornArea;

    @ApiModelProperty(value = "小麦产量（万吨）")
    private Float wheatProduct;

    @ApiModelProperty(value = "玉米产量（万吨）")
    private Float cornProduct;

    @ApiModelProperty(value = "小麦单位面积产量（公斤/公顷）")
    private Float wheatProductUnit;

    @ApiModelProperty(value = "玉米单位面积产量（公斤/公顷）")
    private Float cornProductUnit;


}
